/* ==================================================================   
 * Created [2009-4-27 下午11:32:55] by Jon.King 
 * ==================================================================  
 * TSS 
 * ================================================================== 
 * mailTo:jinpujun@hotmail.com
 * Copyright (c) Jon.King, 2009-2012 
 * ================================================================== 
 */

package com.jinhe.tss.cms.entity;

import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.jinhe.tss.core.persistence.IEntity;

/** 
 * <p> 相关文章Articlelation实体对象 </p>
 */
@Entity
@Table(name = "cms_article_lation")
public class ArticleLation implements IEntity {
    
	@EmbeddedId
	private ArticleLationId id;	//复合主键
	
	@Column(nullable = false)
    private Integer seqNo;						//相关文章显示顺序
	
    public ArticleLationId getId() {
        return id;
    }
 
    public void setId(ArticleLationId articleLationId) {
        this.id = articleLationId;
    }
 
    public Integer getSeqNo() {
        return seqNo;
    }
 
    public void setSeqNo(Integer seqNo) {
        this.seqNo = seqNo;
    }
}

